#ifndef APPVIEW_HPP
#define APPVIEW_HPP

/**
 * Class that need to be implemented and that is used by the graphic engine to 
 * display an application
 */
class AppView {
public:
  AppView() {
  }
  virtual ~AppView() {
  }

  /**
   * Method called by the graphic engine when the application is in the front 
   * (active)
   */
  virtual void displayFront() = 0;

  /**
   * Method called to display a preview of the application when it is on a 
   * back side
   */
  virtual void displayBack() = 0;

  /**
   * Method called during transition between displayFront and displayBack
   */
  virtual void transitive(float percent) = 0;

};

#endif
